class CreateUserCollects < ActiveRecord::Migration
  def self.up
    create_table :user_collects do |t|
      t.integer :user_id
      t.integer :user_sign
      t.string :sid
      t.integer :res_id
      t.integer :img_index
      t.string :img_path
      t.string :res_name
      t.timestamps
    end
  end

  def self.down
    drop_table :user_collects
  end
end
